home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / t_unix / j109lxa4.tar / ftp.h < prev    next >
C/C++ Source or Header  |  1994-06-04  |  535b  |  19 lines

  1. #ifndef    _FTP_H
  2. #define    _FTP_H
  3.  
  4. /* Definitions common to both FTP servers and clients */
  5. #define    BLKSIZE    4096    /* Chunk size for file I/O */
  6.             /* Was too small for 9600 baud transfers - iw0cnb */
  7.  
  8. #define    ASCII_TYPE    0
  9. #define    IMAGE_TYPE    1
  10. #define    LOGICAL_TYPE    2
  11.  
  12. /* In ftpsubr.c: */
  13. long sendfile __ARGS((FILE *fp,int s,int mode,int hash));
  14. long recvfile __ARGS((FILE *fp,int s,int mode,int hash));
  15. int isbinary __ARGS((FILE *fp));
  16. long getsize __ARGS((FILE *fp));
  17. unsigned long checksum __ARGS((FILE *fp, long n));
  18. #endif    /* _FTP_H */
  19.